//
//  AFNetworkTool.h
//  Struggle
//
//  Created by Zyf on 16/7/6.
//  Copyright © 2016年 lexiao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CommonCrypto/CommonDigest.h>
#import <AFNetworking.h>

@interface AFNetworkTool : NSObject

+ (void)JSONDataWithUrl:(NSString *)url withDic:(NSMutableDictionary *)dic success:(void (^)(id json))success fail:(void (^)())fail;

+ (NSString *)md5:(NSString *)str;

@end
